home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI IndiZone 2
/
SGI IndiZone 2.iso
/
OutOfBox.idb
/
usr
/
people
/
tour
/
oob
/
scenegraphs
/
pillars
/
pillars.iv.z
/
pillars.iv
Wrap
Text File
|
1994-12-16
|
5KB
|
291 lines
#Inventor V1.0 ascii
DEF img BufferedMovie {
filename "movies/pillars/pillars.mv"
## zoom 3.0 3.0
zoom 2.0 2.0
origin 320 240 0
buffering SYNC
loopType LOOP
}
HotObject {
genActList ActionList {
ChangeViewerAction {
viewing OFF
newViewer FRAME
escapeRoom "scenegraphs/pillars/exit.iv"
}
SetCameraAction {
location 208.8048 6.1921 4.5952
lookAt 192.7531 33.1605 97.6819
## fieldOfView 0.78539817 ## pi/4
fieldOfView 0.72499233
}
PlaySoundTrackAction
{
soundTrackNode DEF AUD AudioNode {
filename "sounds/pillars/pillars.aifc"
loop YUP
rude NOPE
sproc YUP
}
}
}
}
HotObject {
selActList ActionList {
DEF WAIT WaitCursorAction {}
DEF BEEP LinkAction {
link "playaifc -q sounds/pillars/gong.aifc &"
}
ChangeSceneAction {
NewSceneGraph "scenegraphs/stopMotion/stopMotion.iv"
}
DEF REG RegularCursorAction {}
}
genActList LoopActionList {
stepType FRAME_TIME
framesPerSec 30
# SaveScreenAction {
# filename "pillarscreen"
# endNumber 20
# }
RunMovieAction {
movieNode USE img
}
SIDJumpAction {
frames 119
pathType ABSOLUTE
transform DEF BLAH Transform {
scaleFactor .35 .35 .35
}
fileX "Fcurv/pillars/yellow-x.fraw"
fileY "Fcurv/pillars/yellow-y.fraw"
fileZ "Fcurv/pillars/yellow-z.fraw"
}
SIDJumpAction {
frames 119
pathType ABSOLUTE
transform DEF BLAH2 Transform {
scaleFactor .35 .35 .35
}
fileX "Fcurv/pillars/green-x.fraw"
fileY "Fcurv/pillars/green-y.fraw"
fileZ "Fcurv/pillars/green-z.fraw"
}
SIDJumpAction {
frames 119
pathType ABSOLUTE
transform DEF BLAH3 Transform {
scaleFactor .35 .35 .35
}
fileX "Fcurv/pillars/blue-x.fraw"
fileY "Fcurv/pillars/blue-y.fraw"
fileZ "Fcurv/pillars/blue-z.fraw"
}
SIDJumpAction {
frames 119
pathType ABSOLUTE
transform DEF BLAH4 Transform {
scaleFactor .35 .35 .35
}
fileX "Fcurv/pillars/red-x.fraw"
fileY "Fcurv/pillars/red-y.fraw"
fileZ "Fcurv/pillars/red-z.fraw"
}
}
USE BLAH
## YELLOW ball
Highlight {
Separator {
## unhighlighted state
Material {
diffuseColor .964 .657 .092
}
DEF SphereGeom Sphere {
radius 5
}
}
Separator {
## highlighted state
DrawStyle {
style LINES
}
Material {
diffuseColor .964 .657 .092
emissiveColor .1 .1 .1
}
USE SphereGeom
}
}
}
HotObject {
selActList ActionList {
USE WAIT
USE BEEP
# LinkAction {
# link "playaifc -q sounds/pillars/gong.aifc &"
# }
ChangeSceneAction {
NewSceneGraph "scenegraphs/connect/connections.iv"
}
USE REG
}
USE BLAH2
## GREEN ball
Highlight {
Separator {
## unhighlighted state
Material {
diffuseColor .056 .857 .468
}
USE SphereGeom
}
Separator {
## highlighted state
DrawStyle {
style LINES
}
Material {
diffuseColor .056 .857 .468
emissiveColor .1 .1 .1
}
USE SphereGeom
}
}
}
HotObject {
selActList ActionList {
USE WAIT
USE BEEP
# LinkAction {
# link "playaifc -q sounds/pillars/gong.aifc &"
# }
ChangeSceneAction {
NewSceneGraph "scenegraphs/earth/EARTHPICK.iv"
}
USE REG
}
USE BLAH3
## BLUE ball
Highlight {
Separator {
## unhighlighted state
Material {
diffuseColor 0 0 1
}
USE SphereGeom
}
Separator {
## highlighted state
DrawStyle {
style LINES
}
Material {
diffuseColor 0 0 1
emissiveColor .1 .1 .1
}
USE SphereGeom
}
}
}
HotObject {
selActList ActionList {
USE WAIT
USE BEEP
# LinkAction {
# link "playaifc -q sounds/pillars/gong.aifc &"
# }
ChangeSceneAction {
NewSceneGraph "scenegraphs/video/video.iv"
}
USE REG
}
USE BLAH4
## RED ball
Highlight {
Separator {
## unhighlighted state
Material {
diffuseColor .791 .046 .055
}
USE SphereGeom
}
Separator {
## highlighted state
DrawStyle {
style LINES
}
Material {
diffuseColor .891 .146 .155
emissiveColor .1 .1 .1
}
USE SphereGeom
}
}
}
## info button
HotObject {
selActList ActionList {
USE WAIT
LinkAction {
link "playaifc -q sounds/pillars/help.aifc &"
}
ChangeSceneAction {
NewSceneGraph "scenegraphs/pillars/help.iv"
}
USE REG
}
Separator {
DrawStyle {
style INVISIBLE
}
Transform {
translation 172.0 7.1605 92.7
}
Material {
diffuseColor 0.4 0.4 0.4
transparency 0.5
}
DEF InfoSphereGeom Cube {
width 5.5
height 10
depth 1
}
}
}
## exit object
HotObject {
selActList ActionList {
USE WAIT
LinkAction {
link "playaifc -q sounds/pillars/gong.aifc &"
}
ChangeSceneAction {
NewSceneGraph "scenegraphs/pillars/exit.iv"
}
USE REG
}
Separator {
DrawStyle {
style INVISIBLE
}
Transform {
translation 157.75 6.2605 92.7
}
Material {
diffuseColor 0.4 0.4 0.4
transparency 0.5
}
Cube {
width 16
height 10
depth 1
}
}
}